package com.jyw.business.de.service;

import com.jyw.business.de.domain.dto.web.DemandAllocationConfigDto;
import com.jyw.business.de.domain.vo.web.DemandAllocationConfig;
import com.jyw.common.core.domain.model.SimpleDto;

public interface ISysDemandAllocationConfigService {

    DemandAllocationConfig getConfig();

    /**
     * 设置开关
     * @param dto
     */
    void setOpen(SimpleDto<Boolean> dto);

    /**
     * 设置需求分配人
     * @param dto
     */
    void setAllocation(DemandAllocationConfigDto dto);
}
